<?php

/**
 * BH MEDIA
 * @author Ha Anh Man - manphp@binhhoang.com
 * @version 1.0
 * @package JobSearch
 * @copyright 2012
 * 
 */
class DashboardController extends BackendController {

    public function actionIndex() {        
        $data = array();
        $this->render('index');
    }
    
    public function actionCreateForm() {                
        $this->render('createform', $_POST);
    }
    

    private function getError($condition, $where) {
        $condition->condition = $where;
        return CrawlerJobArchive::model()->count($condition);
    }

}